//
//  CustomAlertView.h
//  自定义AlertView
//
//  Created by 丶离人梦 on 2017/2/8.
//  Copyright © 2017年 丶离人梦. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CustomAlertView;

@protocol CustomAlertDelegate <NSObject>

- (void)CustomAlertView:(CustomAlertView *)alertView clickedButtonAtIndex:(NSUInteger)buttonIndex;

@end

@interface CustomAlertView : UIView

@property(nonatomic,weak)id<CustomAlertDelegate>delegate;

- (instancetype)initWithTitle:title delegate:delegate cancelButtonTitle:cancelTitle otherButtonTitle:otherTitle;

- (void)Show;

@end
